﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlyweightPattern;

public class OtherClass
{
    public string Teacher = "Eleven";
    public string teacher2 = "Evev" + "en";
    public OtherClass()
    {
        // 准备打印 Eleven
        //BaseWord e1 = new E();
        //BaseWord l = new L();
        //BaseWord e2 = new E();
        //BaseWord v = new V();
        //BaseWord e3 = new E();
        //BaseWord n = new N();
        //BaseWord e = FlyweightFactory.CreateWord(WordType.E);
        //BaseWord l = FlyweightFactory.CreateWord(WordType.L);
        //BaseWord v = FlyweightFactory.CreateWord(WordType.V);
        //BaseWord n = FlyweightFactory.CreateWord(WordType.N);
        //Console.WriteLine($"{e.Get()}{l.Get()}{e.Get()}{v.Get()}{e.Get()}{n.Get()}");
    }
}
